package io.sage.modules.flow.service;

import io.sage.modules.readsenseapi.entity.BFlowCustomers;
import io.sage.modules.readsenseapi.vo.FlowCustomersVo;

import java.util.List;
import java.util.Map;

public interface FlowCustomersService {

    /**
     * 会员组列表
     * @param params
     * @return
     */
    List<BFlowCustomers> selectFlowCustomersList(Map<String, Object> params);
    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deleteBatchIds(String[] ids);

    /**
     * 根据主键id查询详情
     * @param id
     * @return
     */
    BFlowCustomers selectByPrimaryKey(String id);

    /**
     * 根据主键修改会员组信息
     * @param flowCustomersVo
     * @return
     */
    int updateByPrimaryKeySelective(FlowCustomersVo flowCustomersVo);

    /**
     * 添加会员组信息
     * @param flowCustomersVo
     * @return
     */
    int insert(FlowCustomersVo flowCustomersVo);

}
